﻿/********************************************************************************************************************
* Author:	Christos Polydorou																						*
* Email:	std04237@di.uoa.gr																						*
* Purpose:	This script is used in order to create the stored procedure "usp_getPrivateCategories" that returns all	*
*			private categories.																						*
********************************************************************************************************************/

CREATE PROCEDURE [dbo].[usp_getPrivateCategories]
AS
	SELECT ID,name
	FROM Categories
	WHERE Categories.IsPrivate != 0
RETURN 0